package logger

import "go.uber.org/zap/zapcore"

func Info(mgs string, fields ...zapcore.Field) {
	logger.Info(mgs, fields...)
}

func Debug(mgs string, fields ...zapcore.Field) {
	logger.Debug(mgs, fields...)
}

func Warn(mgs string, fields ...zapcore.Field) {
	logger.Warn(mgs, fields...)
}

func Error(mgs string, fields ...zapcore.Field) {
	logger.Error(mgs, fields...)
}

func Fatal(msg string, fields ...zapcore.Field) {
	logger.Fatal(msg, fields...)
}

func Sync() {
	logger.Sync()
}
